package com.wolfeyes.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @see Talk is cheap, Show me the code. -- Linus Torvalds
 * @title 个人爱好-实体类
 * @author yanyljava
 * @email yanyljava@qq.com
 * @create 2022-01-07 21:25
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SysUserHobby implements Serializable {

	/**
	 * @description 串行版本标识
	 */
	private static final long serialVersionUID = -2558341928263678402L;

    private Long userHobbyId;

    @NotBlank(message = "爱好名称不能为空")
    private String userHobbyName;

}